package com.wanxi.util;

import java.util.Scanner;

public class MyScanner {
    public static void main(String[] args) {
//      Scanner Java自带接口
//        System.in 系统输入
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个字符");
        String next = scanner.next();
        System.out.println(next);
        System.out.println("请输入一个整数");
        int i = scanner.nextInt();

        System.out.println(i);
    }
}
